﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface IFastMenuBll
    {
        Task<int> AddFastMenuAsync(string title, string link);
        Task<int> EditFastMenuAsync(int id, string title, string link);
        Task<int> DeleteFastMenuAsync(int id);
        Task<List<FastMenuDto>> GetFastMenuAllAsync();
        Task<FastMenuDto> QueryFastMenuByIdAsync(int id);
        Task<List<FastMenuDto>> QueryFastMenuByNameAsync(string title);
    }
}
